package top.lywivan.netty.reactor.serialize;


import top.lywivan.netty.reactor.model.RequestData;

public interface RequestSerializer extends Serializer {

    byte[] encodeRequest(RequestData request);

    RequestData decodeRequest(byte[] bytes);
}
